home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 1614 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: vixen.cso.uiuc.edu!arh0268!not-for-mail
  2. From: Dannyman@uiuc.edu (Unknown)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Must I free my linked lists? (GCC)
  5. Date: 21 Jan 1996 22:09:16 GMT
  6. Organization: University of Illinois at Urbana
  7. Message-ID: <4dudic$aif@vixen.cso.uiuc.edu>
  8. NNTP-Posting-Host: arh0268.urh.uiuc.edu
  9. X-Newsreader: TIN [AMIGA 1.3 950726BETA PL0]
  10.  
  11.    I'm writing a program that makes use of dynamic memory allocation through
  12. linked lists using malloc() ... from an implementation PoV there's no need
  13. to flush this stuff as after the queue is created it's output and the
  14. program exits. My question is;
  15.  
  16.    "When my program exits, is the dynamic memory in the queues returned to
  17. the system or is a "memory hole" left, so that I should actually go back and
  18. return all the memory in my program ..."
  19.  
  20.    Thanks. Please reply publically, because I got 20 emails on my last
  21. question. No *need* for all you courteous folk to respond! :)
  22.  
  23. -- 
  24. =====///====================================================================
  25. ====///=======This message brought to you by dannyman@uiuc.edu==============
  26. \\\///=========HOME PAGE! http://www.uiuc.edu/ph/www/djhoward ==============
  27. =\XX/A1200==================================================================
  28.                   "Our ship is broken. Can you make it go?"
  29.